﻿@model RBS.Core.Model.Hotel.H_Hotel_Certification
@{
    ViewBag.Title = "酒店认证";
    Layout = "~/Views/Shared/_Layout.cshtml"; 
} 
<!--导航栏-->
<div class="location">
    <a href="javascript:history.back(-1);" class="back"><i></i><span>返回列表页</span></a>
    <a href="@Url.Action("Main", "Home")" class="home"><i></i><span>首页</span></a>
    <i class="arrow"></i>
    <span>酒店认证</span>
    <i class="arrow"></i>
    <span>@ViewBag.HotelName</span>
</div>
<!--/导航栏--> 

<!--内容-->
<div class="content-tab-wrap">
    <div id="floatHead" class="content-tab">
        <div class="content-tab-ul-wrap">
            <ul>
                <li><a href="javascript:;" onclick="tabs(this);" class="selected">@ViewBag.HotelName 认证</a></li>
            </ul>
        </div>
    </div>
</div>
@using (Html.BeginForm())
{
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true) 
    <div class="tab-content">
        @Html.HiddenFor(model => model.HotelId)
         @Html.HiddenFor(model => model.Id)
        <dl>
            <dt>酒店名称</dt>
            <dd> 
                 @ViewBag.HotelName  
            </dd>
        </dl>
        <dl>
            <dt>是否认证</dt>
            <dd>
                <div class="rule-multi-radio">
                   <label for="IsCertification">否</label>
                    @Html.RadioButtonFor(model => model.IsCertification, 0, new { @id = "radio1", @name = "rdolstState" }) 
                    <label for="IsCertification">是</label>
                    @Html.RadioButtonFor(model =>  model.IsCertification, 1, new { @id = "radio2", @name = "rdolstState" })    
                </div> 
                <span class="Validform_checktip">*是否认证</span>

            </dd>
        </dl>
        <dl>
            <dt>认证时间</dt>
            <dd>  
             <div class="input-date"> 
			       @Html.TextBoxFor(model => model.CertificationTime, String.Format("{0:yyyy-MM-dd}", Model.CertificationTime), new { @class = "input date", onfocus="WdatePicker({dateFmt:'yyyy-MM-dd'})" , datatype=@"/^\s*$|^\d{4}\-\d{1,2}\-\d{1,2}$/",errormsg="请选择正确的日期",sucmsg=" ",width="100px"}) 
			   <i>日期</i>
             </div>    
                <span class="Validform_checktip">不选择默认当前发布时间</span>  
            </dd>
        </dl> 
        <dl>
            <dt>认证金</dt>
            <dd>
                  @Html.TextBoxFor(model => model.CertificationMoney, new { @class = "input small ", datatype = @"/^-?(([1-9]\d*)(\.\d{1,2})?)$|(0\.0?([1-9]\d?))$  /", sucmsg = " " }) 元      
  
            </dd>
        </dl> 
    </div>
    <!--/内容-->

    <!--工具栏-->
    <div class="page-footer">
        <div class="btn-list">
            <input type="submit" value="提交保存" class="btn" />
            <input name="btnReturn" type="button" value="返回上一页" class="btn yellow" onclick="javascript: history.back(-1);" />

        </div>
        <div class="clear"></div>
    </div>
    <!--/工具栏-->
        
}










